Skip to content

Comments

feat(deps): update vite and storybook#151

Merged
3cp merged 1 commit intomasterfrom
fix/vite
Jan 19, 2026
Merged

feat(deps): update vite and storybook#151
3cp merged 1 commit intomasterfrom
fix/vite

Conversation

@Vheissu
Copy link
Member

@Vheissu Vheissu commented Jan 19, 2026

  • update vite-based tooling and storybook to latest versions across vite and webpack wrappers
  • enable source maps in babel config for easier debugging
  • align storybook dependencies to v10+ and adjust builders/addons across environments
  • remove outdated overrides for vite plugin polyfills
  • add vscode launch setting for vite development
  • update docs to reflect current storybook features and links

- update vite-based tooling and storybook to latest versions across vite and webpack wrappers
- enable source maps in babel config for easier debugging
- align storybook dependencies to v10+ and adjust builders/addons across environments
- remove outdated overrides for vite plugin polyfills
- add vscode launch setting for vite development
- update docs to reflect current storybook features and links
@Vheissu Vheissu requested a review from 3cp January 19, 2026 13:50
@pmanu93
Copy link

pmanu93 commented Jan 19, 2026

Hey! Any thoughts on adding Bun as a package manager option?

I gave it a try with the Vite template and it works out of the box:

bunx makes aurelia my-app -s tailwindcss,vitest,app-with-router

cd my-app

bun install

bun start

No issues at all. Given how fast Bun is (especially for installs and CI pipelines) and how much adoption it's been getting lately, it might be worth considering as an alternative alongside npm/yarn/pnpm. 😄

@3cp 3cp merged commit b16abd6 into master Jan 19, 2026
20 checks passed
@3cp
Copy link
Member

3cp commented Jan 21, 2026

@pmanu93 we did try Bun. Bun setup should use native bun bundler :)

The trouble is that Bun has not yet natively supported latest decorator spec. So the native Bun bundler doesn't work with au2. I had a very outdated setup with outdated au2 (using legacy decorator spec) with Bun bundler which works fine and fast. https://github.com/3cp/au2-bun

Yes you can use Bun with Vite just fine. There is nothing you need to adjust from the output of this skeleton, just use Bun instead of node to run the commands.

@3cp 3cp deleted the fix/vite branch January 21, 2026 21:37
@pmanu93
Copy link

pmanu93 commented Jan 22, 2026

@3cp ah, that makes sense! Now I know why I was having issues when I tried the native bundler 😅.

My point was more about the scaffolding process. It would be awesome to have "Bun" as a package manager option (alongside npm, yarn, and pnpm). Even with the Vite setup, it would allow the tool to run bun install automatically and display the correct bun commands for the user. It’s just a nice QOL improvement to show that Aurelia 2 is Bun-friendly (provided the user has Bun installed, of course!).

Oh, btw, I just dropped a comment on the Bun issue about decorator support and gave Aurelia a little shout-out at the same time. Hope that's okay! 😂

@3cp
Copy link
Member

3cp commented Jan 23, 2026

Yes I will add bun into the installer commands. That's a good idea.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants